package org.steven0lisa.typhoon.ws;

import java.util.List;

import net.jingkao.app.bean.annotation.WebService;

import org.steven0lisa.typhoon.bean.Typhoon;
import org.steven0lisa.typhoon.bean.TyphoonStatus;

public interface Typhoons {
	
	@WebService(url="http://platform.sina.com.cn/weather/typhoon", bean=Typhoon.class, args={})
	List<Typhoon> listTyphoons();
	
	@WebService(url="http://platform.sina.com.cn/weather/typhoon_list", bean=TyphoonStatus.class, args={"tid"})
	List<TyphoonStatus> getStatus(String typhoonId);
}